package com.example.musictutor.conf;

public class Constants {


    //DATABASE CONSTANTS
    public static final String DATABASE_NAME = "musictutordb.db";
    public static final int DB_VERSION = 1;

    //TABLES
    //(UserProgress)
    public static final String TABLE_USER_PROGRESS = "user_progress";
    public static final String C_ID = "_ID";
    public static final String C_AMOUNT_OF_ATTEMPTS = "amount_of_attempts";
    public static final String C_AMOUNT_PASSED = "amount_passed";
    public static final String C_AMOUNT_FAILED = "amount_failed";
    public static final String C_LEVEL_ID = "level";

    
    //(Song)
    public static final String TABLE_SONG = "song";
    public static final String C_NAME = "amount_of_attempts";
    public static final String C_TEMPO = "tempo";
    public static final String C_HIGH_SCORE = "high_score";
    public static final String C_UNLOCKED = "unlocked";
    
    //(SongNote)
    public static final String TABLE_SONG_NOTE = "song_note";
    public static final String C_SONG_ID = "song_id";
    public static final String C_NOTE_ID = "note_id";
    public static final String C_START_POSITION = "start_position";
    public static final String C_END_POSITION = "end_position";
    
    //(Note)
    public static final String TABLE_NOTE = "note";
    public static final String C_RESOURCE_ID = "resource_id";

    //(UserProgress)

    //LOG MESSAGE CONSTANTS
    public static final String LOG_TAG = "MusicTutorDB";
    public static final String LOG_CHART_SERVICE_INIT = "CHART_SERVICE_INIT";
    public static final String LOG_CHART_SERVICE_RENDER = "CHART_SERVICE_RENDER";
    
    //SONG CONSTANTS
    public static final int DEFAULT_TEMPO = 120;
    public static final char[] NOTES = {'C', 'D', 'E', 'F', 'G', 'A', 'B'};
}
